package com.huabo.monitor.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * @author：yhr
 * @date:2022-08-31 14:12
 * @description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "TblAssessTargetVo对象", description = "")
public class TblAssessTargetVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("评价结果Id")
    private BigDecimal assesstargetid;

    //TBL_ASSESS 外键
    @ApiModelProperty("评价立项Id")
    private BigDecimal assid;

    // TBL_ORGANIZATION外键
    @ApiModelProperty("被评价对象")
    private BigDecimal orgid;

    @ApiModelProperty("初步评分")
    private Float finalscore;

    @ApiModelProperty("校正级别")
    private String checklevel;

    @ApiModelProperty("校正原因")
    private String checkreason;

    @ApiModelProperty("状态")
    private String status;

    @ApiModelProperty("初步级别")
    private String finallevel;

    @ApiModelProperty("评价对象名称")
    private String  orgname;

    @ApiModelProperty("评价负责人id")
    private BigDecimal staffid;

    @ApiModelProperty("负责人名字")
    private String realname;

    @ApiModelProperty("负责人登录名")
    private String username;


    @ApiModelProperty("评价项目名称")
    private String assessname;

    @ApiModelProperty("评价项目编号")
    private String assessid;

    @ApiModelProperty("评价日期")

    private LocalDateTime assessdate;

    @ApiModelProperty("计算状态")
    private  String  state;


    @ApiModelProperty("风险发现集合")
    private Set<TblNbkzRisk> tblTargetRisks=new HashSet<TblNbkzRisk>();
    @ApiModelProperty("底稿集合")
    private Set<TblWorksheet> tblTargetSheets=new HashSet<TblWorksheet>();
    @ApiModelProperty("缺陷集合")
    private Set<TblBug> tblTargetBugs=new HashSet<TblBug>();




}
